package com.hbu.product.hbumallproduct.feign;

import com.hbu.common.TO.es.SkuEsModel;
import com.hbu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;

/**
 * @ProjectName: hbu-mall
 * @Package: com.hbu.product.hbumallproduct.feign
 * @ClassName: SearchFeignService
 * @Author: zxh
 * @Description:
 * @Date: 2022/12/5 12:14
 * @Version: 1.0
 */
@FeignClient("search")
public interface SearchFeignService {

    @RequestMapping(value = "/search/save/product", method = RequestMethod.POST)
    R productShelves(@RequestBody List<SkuEsModel> skuEsModelList);

}
